                <div class="table">
                  <!--div class="tag-new"><img src="<?php echo Yii::app()->request->baseUrl; ?>/themes/bjoco/images/new.png" /></div-->
                  <table cellpadding="3" cellspacing="3" border="0" width="100%">
                  <tr>
                    <td width="20%" ><a href="index.php?r=job/create/view&id=<?php echo $data->id; ?>"><?php echo CHtml::encode($data->name); ?> </a></td>
                    <td width="20%" align="center"><?php 
                          if($data->statuspost == 1){
                            echo "Dự án trung gian";
                          }else{
                            echo "Dự án bình thường";
                          }
                     ?>
                   </td>
                    <td width="10%" align="center"><?php echo $data->budget->minmoney.'-'.$data->budget->maxmoney; ?></td>
                    <td width="20%" align="center">
                      <?php 
                          if ($data->status == 1) {
                            echo "Dự án đang chờ người vào";
                          }elseif ($data->status == 2) {
                            echo "Dự án chờ người làm";
                          }elseif ($data->status == 3) {
                            echo "Dự án đang tiến hành";
                          }elseif ($data->status == 4 || $data->status == -1) {
                            echo "Dự án kết thúc";
                          }
                       ?>
                    </td>
                    <td width="20%" align="center">
                      <?php 
                          $skill ='';
                          foreach ( $data->jobSkills as $value ){
                              $skill = $skill.','.$value->skill->name;
                          }
                          echo substr($skill,1);
                      ?>
                    </td>
                    <?php if(JobModule::timeend($data->timepost,$data->timeend) == true): ?>
                  <td width="10%" align="center" class="time-over">
                    <?php echo JobModule::time_diff($data->timepost,$data->timeend); ?>
                     <img src="<?php echo Yii::app()->request->baseUrl; ?>/themes/bjoco/images/time-over.gif" border="0" align="baseline" />
                   </td>
                 <?php else: ?>
                 <td width="10%" align="center">
                    <?php echo JobModule::time_diff($data->timepost,$data->timeend);; ?>
                   </td>
               <?php endif; ?>
                 </tr>
                </table>
                </div>


